]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
windowManager: Ignore auto-repeat activation of toggle keybindigs
authorAndrea Azzarone <andrea.azzarone@canonical.com>
Fri, 22 Jun 2018 12:23:31 +0000 (14:23 +0200)
committerFlorian Müllner <florian.muellner@gmail.com>
Mon, 20 Aug 2018 11:14:38 +0000 (11:14 +0000)
Use Meta.KeyBindingFlags.IGNORE_AUTOREPEAT for open-application-menu
and toggle-message-tray keybindings.

Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/issues/373
js/ui/windowManager.js

index 79c9797d27aa5a6c28c5b122f015b2b08930f47f..36d8a9fb58c7eba496cea5f111fa7974c7bd9dd4 100644 (file)
@@ -948,14 +948,14 @@ var WindowManager = new Lang.Class({
 
         this.addKeybinding('open-application-menu',
                            new Gio.Settings({ schema_id: SHELL_KEYBINDINGS_SCHEMA }),
-                           Meta.KeyBindingFlags.NONE,
+                           Meta.KeyBindingFlags.IGNORE_AUTOREPEAT,
                            Shell.ActionMode.NORMAL |
                            Shell.ActionMode.POPUP,
                            this._toggleAppMenu.bind(this));
 
         this.addKeybinding('toggle-message-tray',
                            new Gio.Settings({ schema_id: SHELL_KEYBINDINGS_SCHEMA }),
-                           Meta.KeyBindingFlags.NONE,
+                           Meta.KeyBindingFlags.IGNORE_AUTOREPEAT,
                            Shell.ActionMode.NORMAL |
                            Shell.ActionMode.OVERVIEW |
                            Shell.ActionMode.POPUP,